package Day1;

/**
 * 名称test1
 * <p>
 * 描述
 *
 * @version 1.0
 * @author:DuanMM
 * @datatime:2024-05-20 12:16
 */
public class test1 {

    public static void main(String[] args) {
        //System.out.println((10 > 20) & 1);

    }
    public static void main5(String[] args) {
        //增量运算符
        int a = 10;
        a += 9; // a = a + 9;
        System.out.println(9);
        short s = 10;
        //s = s + a;
        s += a; // s = (short)(s + a);

    }
    public static void main4(String[] args) {
        System.out.println(1 + 0.2);

        byte b1 = 1;
        byte b2 = 127;
        int b3 = (int)b2 - b1;

    }
    public static void main3(String[] args) {
        int a = 1;
        int b = 0;
        // System.out.println(a / b);
    }
    public static void main2(String[] args) {
        String str = "123";
        int num = Integer.valueOf(str);
        System.out.println(num+1);

        str = String.valueOf(num);
        System.out.println(str);
        str = num + "";
        System.out.println(str);
    }
    public static void main1(String[] args) {
        System.out.println("team");
        System.out.println("Hello,world");
    }
}
